package checkers.common.logic.commands;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "CreateGameResponse")
public class CreateGameResponse extends Command {
	
	@XmlElement(required = true)
    private int isGameCreated;
	@XmlElement(required = true)
    private int gameID;

	public CreateGameResponse() {
		id = 13;
	}
	
	public int getIsGameCreated() {
		return isGameCreated;
	}

	public void setIsGameCreated(int isGameCreated) {
		this.isGameCreated = isGameCreated;
	}

	public int getGameID() {
		return gameID;
	}

	public void setGameID(int gameID) {
		this.gameID = gameID;
	}
}
